package com.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface NoticeDao {

    int deleteNote();

    @Insert("insert into notice(information) values(#{note})")
    Integer insertNote(@Param("note") String note);

    String[] selectNote();

}
